package top.sdwu_top.kbase.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.sdwu_top.kbase.entity.KbaseSysDict;
import com.baomidou.mybatisplus.extension.service.IService;
import top.sdwu_top.kbase.vo.KbaseSysDictVo;

import java.util.List;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author zhipeng.duan@nvr-china.com
 * @since 2020-02-20
 */
public interface IKbaseSysDictService extends IService<KbaseSysDict> {

    String getLabel(String type, String value);

    String getLabelDefault(String type, String value, String s);

    boolean create(KbaseSysDict kbaseSysDict);

    boolean update(KbaseSysDict kbaseSysDict);

    boolean delete(String id);

    Page<KbaseSysDict> page(KbaseSysDictVo kbaseSysDictVo);

    List<KbaseSysDict> list(String type);

    KbaseSysDict getOne(String type, String value);



}
